import { useNavigate } from 'react-router'
import FooterItem from '../FooterItem'
import st from './footer.module.css'
const Bottom = () => {
    const nav = useNavigate()

    return <div className={st.footer}>
        <FooterItem text={"首页"} icon={"icon"} to={() => nav('/')} />
        <FooterItem text={"管店"} icon={"icon"} to={() => nav('/manager')} />
        <FooterItem text={"营销"} icon={"icon"} to={() => nav('/market')} />
        <FooterItem text={"分析"} icon={"icon"} to={() => nav('/analyze')} />
    </div>
}
export default Bottom